import request from '../utils/request'

export const getChapterLessonByBookId = (data) => {
  return request({
    url: '/lesson/getChapterLessonByBookId',
    method: 'post',
    data,
  })
}
export const queryTeachProgress = () => {
  return request({
    url: '/usermeta/queryTeachProgress',
    method: 'post',
    data: {}
  })
}
export const createTeachProgress = (data) => {
  return request({
    url: '/usermeta/createTeachProgress',
    method: 'post',
    data
  })
}
export const queryResolveAddr = (data) => {
    return request({
      url: '/resource/queryResolveAddr',
      method: 'post',
      data
    })
  }
